package com.yitiao.data_algorithms.leetcode.editor.cn;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

class FourSum {
    // 2023-05-31 15:46:01
    public static void main(String[] args) {
        Solution solution = new FourSum().new Solution();
    }

    //leetcode submit region begin(Prohibit modification and deletion)
    class Solution {
        public List<List<Integer>> fourSum(int[] nums, int target) {
            ArrayList<List<Integer>> list = new ArrayList<>();
            if (nums.length < 4) {
                list.add(new ArrayList<Integer>());
                return list;
            }
            Arrays.sort(nums);
//        for (int i = 0; i < ; i++) {
//            if (nums[0]+nums[1]+nums[])
//        }
            return list;
        }
    }
//leetcode submit region end(Prohibit modification and deletion)

}